#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.oauth.configure;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Description: 权限认证是否开启 的配置类
 *
 * @author ywh
 * @date 2019/8/6 15:28
 *
 * <pre>
 *              ${copyright}
 *      Copyright (c) 2019. All Rights Reserved.
 * </pre>
 */
@Data
@Component
@ConfigurationProperties(prefix = "yk.resource")
public class YkResourceConfig {

    /**
     * 不需要验证的路径
     */
    private String[] allowPath = new String[0];
    /**
     * 是否打开uri鉴权
     */
    private boolean enableUriAuth = true;
    /**
     * 资源服务器id
     */
    private String resourceId = "";

}
